<link href="<?php echo base_url()?>assets/css/icons/icol16.css" rel="stylesheet">
<div id="page-wrapper">

    <div class="container-fluid">

        <!-- Page Heading -->
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">
                    Penugasan Marketing
                </h1>
                <ol class="breadcrumb">
                    <li>
                        <i class="fa fa-dashboard"></i>  <a href="<?php echo base_url(); ?>home">Dashboard</a>
                    </li>
                    <li class="active">
                        <i class="fa fa-edit"></i> <a href="<?php echo base_url(); ?>modul/penugasan_marketing/index">Penugasan Marketing</a>
                    </li>
                    <li class="active">
                        <i></i>List Penugasan Marketing
                    </li>
                </ol>
            </div>
        </div>
        <!-- /.row -->
    	<div class="col-lg-12">
            <h2>Detail Penugasan Marketing</h2>
            <div class="panel panel-primary">
            <div class="panel-body">
            <?php foreach($get_penugasan_marketing_detail as $row_pm): ?>  
            <div class="col-lg-6">
                <div class="panel panel-primary" style="border:0px;">
                    <div class="panel-heading">
                        <h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> Detail Penugasan</h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group">
                            <label>Nama Perusahaan</label>
                            <p class="form-control-static"><?php echo $row_pm->nama_perusahaan ?></p>
                        </div>
                        <div class="form-group">
                            <label>Keterangan Perusahaan</label>
                            <p class="form-control-static"><?php echo $row_pm->keterangan_perusahaan ?></p>
                        </div>
                        <div class="form-group">
                            <label>Catatan Manager</label>
                            <p class="form-control-static"><?php echo $row_pm->keterangan_penugasan_marketing ?></p>
                        </div>
                        <div class="form-group">
                            <label>Waktu Penugasan</label>
                            <p class="form-control-static"><?php echo $row_pm->waktu_penugasan_marketing ?></p>
                        </div>
                    </div>
                </div>      
            </div>
            
            <?php echo form_open_multipart('modul/marketing/update') ?>
            <?php echo form_hidden('id_penugasan_marketing', $row_pm->id_penugasan_marketing);?>  
            <?php echo form_hidden('id_perusahaan', $row_pm->id_perusahaan);?>  
            <div class="col-lg-6">
                <div class="panel panel-primary" style="border:0px;">
                    <div class="panel-heading">
                        <h3 class="panel-title"><i class="fa fa-long-arrow-right"></i> Hasil Marketing</h3>
                    </div>
                    <div class="panel-body">
                        <div class="form-group">
                            <label>Deskripsi Hasil Marketing</label>
                            <p class="form-control-static"><textarea class="form-control" rows="3" name="deskripsi_marketing"></textarea></p>
                        </div>
                        <div class="form-group">
                            <label>Status Marketing</label>
                            <select id="status" class="form-control" name="status_marketing">
                                <option value="">--</option>
                                <option value="positif">Positif</option> 
                                <option value="negatif">Negatif</option>                                    
                            </select>
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-default">Save</button>
                        </div>
                    </div>
                </div>
            </div>
            <?php endforeach ?>
            <?php echo form_close()?>
            </div>
        </div>
    </div>
    <!-- /.row -->
</div>
</div>
<!-- /.container-fluid -->
